package com.bawei.module_home.state

import com.bawei.lib_common.state.BaseUiStatus
import com.bawei.module_home.entriy.CommendEntity
import com.bawei.module_home.entriy.CommentListEntriyItem
import com.bawei.module_home.entriy.SimpleTypeBeanItem
import com.bawei.module_home.entriy.SimpleVideoEntity

sealed class HomeUiState :BaseUiStatus(){
    object Loading:HomeUiState()
    data class LoadSimpleTypeSuccess(val data:List<SimpleTypeBeanItem>):HomeUiState()
    data class LoadSimpleTypeFailed(val meg:String):HomeUiState()

    //获取视频数据状态
    data class LoadSimpleVideoSuccess(val list: List<SimpleVideoEntity>): HomeUiState()
    data class LoadSimpleVideoFail(val msg: String): HomeUiState()

    //获取视频数据状态
    data class LoadVideoCommentSuccess(val list: List<CommentListEntriyItem>): HomeUiState()
    data class LoadVideoCommentFail(val msg: String): HomeUiState()

    //获取视频数据状态
    data class PublishVideoCommentSuccess(val list: List<CommendEntity>): HomeUiState()
    data class PublishVideoCommentFail(val msg: String): HomeUiState()
}